<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http:dream/cust_tag.tld" prefix="page"%>
<c:forEach var="vo" varStatus="vs" items="${pageVO.details}">
	<tr>
		<td class="text-center">
			<c:out value="${vs.count}"/>
		</td>
		<td class="text-center" >
			<c:out value="${vo.id}"/>
		</td>
		<td class="text-left ellipsis" >
			<c:out value="${vo.name}"/>
		</td>
		<td class="text-center" >
			<c:out value="${vo.mobile}"/>
		</td>
		<td class="text-center">
			<c:choose >
				<c:when test='${vo.status == "delete"}'>
					<span class="label label-danger">删除</span>
				</c:when>
				<c:when test='${vo.status == "exception"}'>
					<span class="label label-danger">异常</span>
				</c:when>
				<c:when test='${vo.status == "expire"}'>
					<span class="label warning">过期</span>
				</c:when>
				<c:when test='${vo.status == "block"}'>
					<span class="label label-danger">锁定</span>
				</c:when>
				<c:when test='${vo.status == "active"}'>
					<span class="label label-success">正常</span>
				</c:when>
				<c:when test='${vo.status == "verify"}'>
					<span class="label label-success">验证</span>
				</c:when>
				<c:otherwise>
					<span class="label label-success">其他</span>
				</c:otherwise>
			</c:choose>	
		</td>
		<td class="text-center" >
			<a class="btn btn-primary btn-small" href='${root}/app/user/detail/${vo.id}/true?&h=h02&n=n01' >
				修改
			</a>
			<a class="btn btn-warning btn-small" href='${root}/app/user/resource/detail/${vo.id}?&h=h02&n=n01' >
				权限
			</a>
			<a class="btn btn-danger btn-small" href='javascript:void(0)' onclick="delUser('${vo.id}')" >
				删除
			</a>
		</td>
	</tr>
</c:forEach>
<tr>
<td colspan="6" class="text-center" >
	<page:webpaging function="common.ajaxPagingQuery('${root}/app/user/query')" totalCount="${pageVO.count}"></page:webpaging>
</td>
</tr>
 		


